home *** CD-ROM | disk | FTP | other *** search
/ PC PLAY 8 (Swedish) / PC PLAY 8.iso / menu.bat < prev    next >
Encoding:
DOS Batch File  |  1997-10-22  |  1.6 KB  |  90 lines

  1. @echo off
  2. cls
  3. echo Looking for CD-ROM drive...
  4. :DDISK
  5.    IF NOT EXIST D:\Menu.bat GOTO EDISK
  6.    D:
  7.    goto MENU
  8. :EDISK
  9.    IF NOT EXIST E:\Menu.bat GOTO FDISK
  10.    E:
  11.    goto MENU
  12. :FDISK
  13.    IF NOT EXIST F:\Menu.bat GOTO GDISK
  14.    F:
  15.    goto MENU
  16. :GDISK
  17.    IF NOT EXIST G:\Menu.bat GOTO HDISK
  18.    G:
  19.    goto MENU
  20. :HDISK
  21.    IF NOT EXIST H:\Menu.bat GOTO IDISK
  22.    H:
  23.    goto MENU
  24. :IDISK
  25.    IF NOT EXIST I:\Menu.bat GOTO JDISK
  26.    I:
  27.    goto MENU
  28. :JDISK
  29.    IF NOT EXIST J:\Menu.bat GOTO KDISK
  30.    J:
  31.    goto MENU
  32. :KDISK
  33.    IF NOT EXIST K:\Menu.bat GOTO LDISK
  34.    K:
  35.    goto MENU
  36. :LDISK
  37.    IF NOT EXIST L:\Menu.bat GOTO MENU
  38.    L:
  39. :MENU
  40. cd \
  41. cd Install
  42. cls
  43. echo.
  44. echo            ╔═════════════════════════════════════════╗
  45. echo            ║            PC PLAY DOS Installer        ║
  46. echo            ╚═════════════════════════════════════════╝
  47. echo.
  48. echo    ╔════════════════════════════════════════════════════╗
  49. echo    ║  Press the letter of the game you wish to install  ║
  50. echo    ╚════════════════════════════════════════════════════╝
  51. echo.
  52. echo a. Constructor
  53. echo b. Counter-Action
  54. echo c. The Last Express
  55. echo d. Mass Destruction
  56. echo e. Steel Panthers 3
  57. echo.    
  58. echo x. Exit
  59. echo.                           
  60. echo.
  61. choice /c:abcdefghijklmnopqrstuvwxyz /n
  62. cls
  63. if errorlevel 6 goto end
  64. if errorlevel 5 goto inst5
  65. if errorlevel 4 goto inst4
  66. if errorlevel 3 goto inst3
  67. if errorlevel 2 goto inst2
  68. if errorlevel 1 goto inst1
  69.  
  70. :inst1
  71. Const.bat
  72. goto end
  73.  
  74. :inst2
  75. Counter.bat
  76. goto end
  77.  
  78. :inst3
  79. Express.bat
  80. goto end
  81.  
  82. :inst4
  83. Massdest.bat
  84. goto end
  85.  
  86. :inst5
  87. Steel.bat
  88. goto end
  89.  
  90. :end